<?php
class UserController extends BaseController
{
	/**
	 * 展示目录页面
	 * @Author   Leikes
	 * @DateTime 2016-01-31T15:26:56+0800
	 * @return   [type]                   [description]
	 */
	public function showIndex()
	{
		return View::make('user.index');
	}

	/**
	 * 展示激活页面
	 * @Author   Leikes
	 * @DateTime 2016-01-31T15:27:15+0800
	 * @return   [type]                   [description]
	 */
	public function showActivation()
	{
		return View::make('user.activation');
	}


	public function activation()
	{
		$registerNumber=Input::all();
		$activationService=new ActivationService;
		$errInfo=$activationService->activation($registerNumber);
		return Response::json($errInfo);
	}
}
?>